import rights_list from '../../views/rights/rights_list.vue';
import product_type_list from '../../views/rights/product_type_list.vue';
import category_list from '../../views/rights/category_list.vue';
import coupon_list from '../../views/rights/coupon_list.vue';
import coupon_user_getlist from '../../views/rights/coupon_user_getlist.vue';
import card_list from '../../views/rights/card_list.vue';

export default {
  path: 'rights',
  name: '权益模块',
  meta: {
    requireAuth: true,
    icon: 'el-icon-wallet'
  },
  children: [
    {
      path: 'category_list',
      name: '权益分类列表',
      component: category_list,
      meta: {
        requireAuth: true,
      },
    },
    {
      path: 'product_type_list',
      name: '权益会员列表',
      component: product_type_list,
      meta: {
        requireAuth: true
      },
    },
    {
      path: 'rights_list',
      name: '权益列表',
      component: rights_list,
      meta: {
        requireAuth: true
      },
    }, {
      path: 'card_list',
      name: '卡券列表',
      component: card_list,
      meta: {
        requireAuth: true
      },
    }, {
      path: 'coupon_list',
      name: '优惠券列表',
      component: coupon_list,
      meta: {
        requireAuth: true
      },
    },
    {
      path: 'coupon_user_getlist',
      name: '优惠券领取记录',
      component: coupon_user_getlist,
      meta: {
        requireAuth: true
      },
    },
  ]
}